package com.basksoft.baskreport.demo.service;
import java.util.HashMap;

import com.basksoft.report.console.report.fill.custom.DataProcessor;
import com.basksoft.report.console.report.fill.custom.DataWrapper;
import com.basksoft.report.core.definition.fill.submit.sql.SubmitType;

public class TestDataProcessor implements DataProcessor<HashMap<String,Object>> {


	@Override
	public String name() {
		return "数据处理测试类";
	}

	@Override
	public void process(DataWrapper<HashMap<String, Object>> data, SubmitType submitType, String name) {
		System.out.println(data.getInsertData());
		System.out.println(data.getDeleteData());
		System.out.println(data.getUpdateData());
		System.out.println(submitType+":"+name);
	}
}
